/*
 * SignalSource.c
 *
 *  Created on: 2021年6月19日
 *      Author: Rupert
 */
#include "SignalSource.h"

#include "AD9833.h"

void SignalSourceInit()
{
    SPI3_ReadWriteByte(0xff);
    AD9833_Init();
}


void setSignalFreq(float freq)
{
    AD9833_SetFrequencyQuick(freq, AD9833_OUT_SINUS);
}
